package com.design.abstractfactory.skin;

/**
 * @Author: xiemiao
 * @CreateTime: 2023-04-22  23:30
 * @Description: TODO
 * @Version: 1.0
 */
public class Client {
    public static void main(String[] args) {
        SkinFactory factory;
        Button button;
        TextField textField;
        ComboBox comboBox;
        factory = new SpringSkinFactory();
        button = factory.createButton();
        textField = factory.createTextField();
        comboBox = factory.createComboBox();
        button.display();
        textField.display();
        comboBox.display();
    }
}
